package com.lingo.a2b.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lingo
 * @since 2020-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("a2b_connect_project")
@ApiModel(value="ConnectProjectDO对象", description="")
public class ConnectProjectDO implements Serializable {

    private static final long serialVersionUID = -581478187903641470L;

    @TableId(value = "Fid",type = IdType.AUTO)
    private Integer fid;

    @TableField("Fproject_text")
    @NotBlank(message = "项目名字不能为空")
    private String fprojectText;

    @TableField("Fvo_class_name")
    @NotBlank(message = "对应的 类名不能为空")
    private String fvoClassName;

    @TableField("Fcreate_time")
    private Date fcreateTime;

    @TableField("Fmodify_time")
    private Date fmodifyTime;


}
